package com.lwd.springcloud.billmanagement.service;

import com.lwd.springcloud.billmanagement.dao.TypeMapper;
import com.lwd.springcloud.billmanagement.entity.BillType;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service
public class TypeService {
    @Resource
    private TypeMapper typeMapper;

    public List<BillType> list() {
        return typeMapper.selectAll();
    }
}
